<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>足球圈</title>
    <script src="../js/lib-flexible.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* 复用index01.html的头部样式 */
        .header {
            background-color: #00c200;
            height: 0.88rem;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 0.3rem;
        }
        
        .header-btns {
            display: flex;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 0.8rem;
            width: 3.4rem;
            height: 0.6rem;
            padding: 0.06rem;
        }
        
        .header-btns button {
            flex: 1;
            border: none;
            background: transparent;
            color: #fff;
            font-size: 0.28rem;
            border-radius: 0.8rem;
        }
        
        .header-btns button.active {
            background: #fff;
            color: #00c200;
        }
        
        /* 复用index01.html的导航栏样式 */
        .nav-tabs {
            display: flex;
            background: #fff;
            border-bottom: 1px solid #eee;
            position: relative;
        }
        
        .nav-tabs a {
            flex: 1;
            height: 0.88rem;
            line-height: 0.88rem;
            text-align: center;
            color: #333;
            text-decoration: none;
            font-size: 0.28rem;
        }
        
        .nav-tabs a.active {
            color: #00c200;
        }
        
        .nav-slider {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 33.33%;
            height: 2px;
            background: #00c200;
            transition: all 0.3s;
        }
        
        /* 新的内容区域样式 */
        .content {
            display: flex;
            padding: 0.2rem;
            gap: 0.2rem;
        }
        
        .left-column, .right-column {
            width: calc(50% - 0.1rem);
            font-size: 0.26rem;
        }
        
        .news-item {
            border-bottom: 1px solid #eee;
            margin-bottom: 0.2rem;
        }
        
        .news-item:last-child {
            margin-bottom: 0;
        }
        
        .left-column {
            border-right: none;
        }
        
        .news-item img {
            width: 100%;
            display: block;
        }
        
        .news-item h3 {
            font-size: 0.26rem;
            color: #333;
            padding: 0.2rem;
            font-weight: normal;
            line-height: 1.4;
            background: #fff;
        }
        
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            background: #fff;
            border-top: 1px solid #ddd;
            padding: 0.15rem 0;
            justify-content: space-around;
            height: 1.2rem;
        }
        
        .bottom-nav a {
            flex: 1;
            text-align: center;
            color: #666;
            text-decoration: none;
            font-size: 0.24rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .bottom-nav img {
            width: 0.5rem;
            height: 0.5rem;
            display: block;
            margin: 0 auto 0.08rem;
        }
        
        .camera-btn {
            width: 1.2rem;
            height: 1.2rem;
            padding: 0;
            border: none;
            background: #fff;
            border-radius: 50%;
            margin-top: -0.4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        
        .camera-btn img {
            width: 0.6rem;
            height: 0.6rem;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="header-btns">
            <button class="active">热点</button>
            <button>关注</button>
        </div>
    </div>
    
    <div class="nav-tabs">
        <a href="#" class="active" data-index="0">足球现场</a>
        <a href="#" data-index="1">足球生活</a>
        <a href="#" data-index="2">足球美女</a>
        <div class="nav-slider"></div>
    </div>
    
    <div class="content">
        <div class="left-column">
            <div class="news-item">
                <img src="./images/03index_2_03.jpg" alt="">
                <h3>徐云龙争顶</h3>
            </div>
            <div class="news-item">
                <img src="./images/03index_2_05.jpg" alt="">
                <h3>马季奇向裁判示意对手拉扯武磊进球后腿抽筋</h3>
            </div>
            <div class="news-item">
                <img src="./images/03index_2_03.jpg" alt="">
                <h3>徐云龙争顶</h3>
            </div>
        </div>
        <div class="right-column">
            <div class="news-item">
                <img src="./images/03index_2_05.jpg" alt="">
                <h3>马季奇向裁判示意对手拉扯武磊进球后腿抽筋</h3>
            </div>
            <div class="news-item">
                <img src="./images/03index_2_05.jpg" alt="">
                <h3>马季奇向裁判示意对手拉扯武磊进球后腿抽筋</h3>
            </div>
            <div class="news-item">
                <img src="./images/03index_2_05.jpg" alt="">
                <h3>马季奇向裁判示意对手拉扯武磊进球后腿抽筋</h3>
            </div>
        </div>
    </div>
    
    <div class="bottom-nav">
        <a href="#" class="active">
            <img src="./images/03index_0_08.jpg" alt="">
            <span>首页</span>
        </a>
        <a href="#">
            <img src="./images/03index_0_10.jpg" alt="">
            <span>发现</span>
        </a>
        <button class="camera-btn">
            <img src="./images/03index_0_03.jpg" alt="">
        </button>
        <a href="#">
            <img src="./images/03index_0_05.jpg" alt="">
            <span>我的</span>
        </a>
        <a href="#">
            <img src="./images/03index_0_13.jpg" alt="">
            <span>退出</span>
        </a>
    </div>
    
    <script>
        // 导航栏滑动效果
        const navLinks = document.querySelectorAll('.nav-tabs a');
        const slider = document.querySelector('.nav-slider');
        
        navLinks.forEach(link => {
            link.addEventListener('click', (e) => {
                e.preventDefault();
                navLinks.forEach(item => item.classList.remove('active'));
                link.classList.add('active');
                const index = link.getAttribute('data-index');
                slider.style.left = `${index * 33.33}%`;
            });
        });

        // 热点/关注切换效果
        const headerBtns = document.querySelectorAll('.header-btns button');
        headerBtns.forEach(btn => {
            btn.addEventListener('click', () => {
                headerBtns.forEach(item => item.classList.remove('active'));
                btn.classList.add('active');
            });
        });
    </script>
</body>
</html>
